.container {
  height: 6rem;
  background-color: #f9f9f9;
  border: 0.1rem solid transparent;
  border-radius: 0.4rem;
  transition: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);

  &.active {
    background-color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 92, 0, 0.2);
  }

  &.error {
    background-color: #fcf2f3;

    .label {
      color: var(--color-error);
    }
  }

  .input {
    flex: 1;
    height: 100%;
    border: none;
    padding: 2rem;
    color: #333;
    font-size: 1.7rem;
    background-color: transparent;

    &[type='password'] {
      letter-spacing: 1rem;
    }

    &.with_label {
      padding: 3rem 2rem 1rem;
    }
  }

  .label {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.4);
    font-size: 1.7rem;
    font-weight: 200;
    transition: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: text;

    &.active {
      top: 0.6rem;
      font-size: 1.2rem;
      transform: none;
    }
  }

  .icon_eye {
    width: 6rem;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(0, 0, 0, 0.25);
    transition: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);

    &:hover {
      color: rgba(0, 0, 0, 0.45);
    }
  }
}
